package com.flitsneak.designpatterns.structuralpatterns.bridge;

/**
 * @author flitsneak
 * @email flitsneak@gmail.com
 * @date 2022/7/12 15:59
 * @description
 */
public abstract class Preference {
    private Interflow interflow;

    protected Preference(Interflow interflow) {
        this.interflow = interflow;
    }

    public void communicate(String s){
        this.interflow.communicate(s);
    }
}
